package com.base.cn.platform.os.common.j2cache;

/**
 * J2Cache的空间枚举
 * @author s.li
 * @date 2019/02/27
 */
public enum J2CacheRegion {
    /**缓存30天*/
    THIRTY_DAY_REGION("demo4.5.0beat-thirty_day_region","10000, 30d"),
    /**缓存7天*/
    SEVEN_DAY_REGION("demo4.5.0beat-seven_day_region","10000, 7d"),
    /**缓存1天*/
    ONE_DAY_REGION("demo4.5.0beat-one_day_region","10000, 1d"),
    /**缓存12小时*/
    TWELVE_HOURS_REGION("demo4.5.0beat-twelve_hours_region","10000, 12h"),
    /**缓存6小时*/
    SEX_HOURS_REGION("demo4.5.0beat-sex_hours_region","10000, 6h"),
    /**缓存2小时*/
    TWO_HOURS_REGION("demo4.5.0beat-two_hours_region","10000, 2h"),
    /**缓存1小时*/
    ONE_HOURS_REGION("demo4.5.0beat-one_hours_region","10000, 1h"),
    /**缓存30分钟*/
    THIRTY_MINUTE_REGION("demo4.5.0beat-thirty_minute_region","10000, 30m"),
    /**缓存3分钟*/
    THIRD_MINUTE_REGION("demo4.5.0beat-third_minute_region","10000, 3m"),
    /**缓存1分钟*/
    ONE_MINUTE_REGION("demo4.5.0beat-one_minute_region","10000, 1m"),
    /**缓存30秒*/
    THIRTY_SECOND_REGION("demo4.5.0beat-thirty_second_region","10000, 30s"),
    /**缓存36小时*/
    THIRTY_SIX_HOURS_REGION("demo4.5.0beat-thirty_six_hours_second_region","10000,");

    private String key;
    private String value;

    J2CacheRegion(String key,String value){
        this.key = key;
        this.value = value;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
